<?php
/**
 * Wanna
 * 
 * @author bgfx63
 * @version 
 */
require_once 'Zend/Db/Table/Abstract.php';
class Wanna extends Zend_Db_Table_Abstract
{
    /**
     * The default table name 
     */
    protected $_name = 'wanna';
    function getMyWanna($str = "")
    {
    	$wanna = new Wanna();
		$glocations = new Glocation();
		$robAllen = $wanna->fetchAll('userID = "'.$str.'"');
		//$locationrow = $robAllen->findManyToManyRowset($users, $glocations);	
		return $robAllen;
    }
    
	function getFriendsWanna($str = "")
    {
    	
    }
}
